package com.jddup.test.pojo.mysql;

import com.baomidou.mybatisplus.annotation.*;
import com.jddup.common.annotations.ColumnDes;

import java.util.Date;

@TableName("t_ws_market_depth_sub")
public class WsMarketDepthSub {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("mrid")
	private Long mrid;
    @TableField("ch")
	private String ch;
    @TableField("bids")
	private String bids;
    @TableField("asks")
	private String asks;
    @TableField(value = "create_time", updateStrategy = FieldStrategy.NEVER)
    @ColumnDes(isNullable = false,defaultValue = " DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMrid() {
        return mrid;
    }

    public void setMrid(Long mrid) {
        this.mrid = mrid;
    }

    public String getCh() {
        return ch;
    }

    public void setCh(String ch) {
        this.ch = ch;
    }

    public String getBids() {
        return bids;
    }

    public void setBids(String bids) {
        this.bids = bids;
    }

    public String getAsks() {
        return asks;
    }

    public void setAsks(String asks) {
        this.asks = asks;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
